<?php
class Login_Index_View extends NICED_View 
{
	public function execute() 
	{
		$controller = $this->getController();
		$exception  = $controller->getException();

		if ($exception && $exception instanceof Exception)
		{
		    $this->set('friendly_error.message', $exception->getMessage());
		    $this->set('friendly_error.trace', $exception->getTraceAsString());
		}

		$model   = $this->import('Login.Index');

		$this->render('Login.Index');
	}

}//end class
